package cn.rengy.tpa.wxmp.oauth.protocol.get_access_token;

/**
 * 请求：通过code换取网页授权access_token.
 */
public class GetAccessTokenRequest {

	public GetAccessTokenRequest(String code, String appid, String secret) {
		this.code = code;
		this.appid = appid;
		this.secret = secret;
	}

	private String appid = "";
	private String secret = "";
	private String code;
	private String grant_type = "authorization_code";

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getSecret() {
		return secret;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getGrant_type() {
		return grant_type;
	}

	public void setGrant_type(String grant_type) {
		this.grant_type = grant_type;
	}
}
